#ifndef SERVICESERVER_H
#define SERVICESERVER_H

#include "server.h"
#include "serviceclient.h"

class ServiceServer : public Server
{
    Q_OBJECT
public:
    ServiceServer(int port, QObject *parent = 0);

    void connectClient();
    void disconnectClient();

public Q_SLOTS:
    void broadcast(QByteArray data);

private:
    QList<ServiceClient*> v_clientList;

};

#endif // SERVICESERVER_H
